﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WxStock_Out.aspx.cs" Inherits="Stock_WxStock_Out" MasterPageFile="../MasterPage.master" %>
<%@ Import Namespace="Common" %>
<%@ Register src="Stock_Left.ascx" tagname="Stock_Left" tagprefix="uc1" %>

<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <table cellpadding="0" cellspacing="2" width="100%" border="0">
	<tr>
        <td class="leftTd"  valign="top" width="20%">
            <uc1:Stock_Left ID="Stock_Left1" runat="server" />
        </td>
		<td width="85%" valign="top">
		<table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
			<tr>
		        <td class="leftTd"  valign="top">
		        <table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
		        	<tr>
		            	<td class="titleStyle"><%= WebUtility.GetTitleByMenu(MenuType) %></td>
		            </tr>
		        </table>
		        <br />
		        <table cellpadding="0" cellspacing="1" width="100%" border="0" style="background:#000066;">
	                    <tr>
	                        <td class="leftContent">入库预约序号：</td>
	                        <td class="RightContent">
                            <a class="thickbox" href="../Business/Business_View.aspx?DanNum=<%= txt_InDanNum.Text %>&KeepThis=true&TB_iframe=true&height=550&width=800" >
                                <asp:Label ID="txt_InDanNum" runat="server" ></asp:Label></a>
	                            &nbsp; &nbsp;</td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">物品名称：</td>
	                        <td class="RightContent"><asp:Label ID="txt_StockName" runat="server" ></asp:Label></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">规格描述：</td>
	                        <td class="RightContent"><asp:Label ID="txt_Spec" runat="server" ></asp:Label></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">故障描述：</td>
	                        <td class="RightContent"><asp:Label ID="txt_Mistake" runat="server" ></asp:Label></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">收取时间：</td>
	                        <td class="RightContent"><asp:Label ID="txt_ReceiveTime" runat="server" ></asp:Label></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">报价价格：</td>
	                        <td class="RightContent"><asp:Label ID="txt_Price" runat="server" ></asp:Label></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">经手人：</td>
	                        <td class="RightContent"><asp:Label ID="txt_MUserKey" runat="server" ></asp:Label></td>
	                    </tr>
                            <tr>
	                        <td class="leftContent">维修状态：</td>
	                        <td class="RightContent">
                                <asp:DropDownList ID="txt_WxStatus" runat="server" AutoPostBack="True" 
                                    onselectedindexchanged="txt_WxStatus_SelectedIndexChanged">
                                  <asp:ListItem Value="">请选择</asp:ListItem>
                                  <asp:ListItem Value="已修复">已修复</asp:ListItem>
                                  <asp:ListItem Value="更换">更换</asp:ListItem>
                                  <asp:ListItem Value="未修复">未修复</asp:ListItem>
                                </asp:DropDownList>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                    ErrorMessage="请选择维修状态" ControlToValidate="txt_WxStatus"></asp:RequiredFieldValidator>
                            </td>
	                    </tr>
	                    <tr id="tr_FinalPrice" runat=server>
	                        <td class="leftContent">最终价格：</td>
	                        <td class="RightContent">
                                <asp:TextBox ID="txt_FinalPrice" runat="server"></asp:TextBox>
                                    <asp:CompareValidator ID="CompareValidator2" runat="server" 
                                    ControlToValidate="txt_FinalPrice" ErrorMessage="最终价格是大于0的数字" Operator="GreaterThan" 
                                    Type="Currency" ValueToCompare="0"></asp:CompareValidator>
                                    </td>
	                    </tr>
	                    <tr id="tr_ChangeStock" runat=server>
	                        <td class="leftContent">更换物品：</td>
	                        <td class="RightContent">
                                <asp:TextBox ID="txt_ChangeStock" runat="server"></asp:TextBox></td>
	                    </tr>
	                    <tr id="tr_SalePrice" runat=server>
	                        <td class="leftContent">销售价格：</td>
	                        <td class="RightContent">
                                <asp:TextBox ID="txt_SalePrice" runat="server"></asp:TextBox>
                                    <asp:CompareValidator ID="CompareValidator3" runat="server" 
                                    ControlToValidate="txt_SalePrice" ErrorMessage="销售价格是大于0的数字" Operator="GreaterThan" 
                                    Type="Currency" ValueToCompare="0"></asp:CompareValidator>
                                    </td>
	                    </tr>
                     
	                     <tr>
	                        <td class="leftContent" valign="top" style="padding-top:20px;height:30px;"></td>
	                        <td class="RightContent">
                            <asp:Button ID="btnSubmit" runat="server" Text="添 加" CssClass="button" 
                                    onclick="btnSubmit_Click" />
	                        &nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="重 置" name="btnReset" class="button"></td>
	                    </tr>
	                </table>
				</td>
		    </tr>
		</table>
        </td>
    </tr>
</table>
</asp:Content>

